package com.joysuch.wwyt.patrol.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zr
 * @since 2022-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_patrol_check_item")
@ApiModel(value="PatrolCheckItem对象", description="检查点对应的检查项目")
public class PatrolCheckItem extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "检查点id")
    private Long pointId;

    @ApiModelProperty(value = "设备id")
    private Long deviceId;

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "检查项目")
    private String checkItem;

    @ApiModelProperty(value = "检查标准")
    private String checkStandard;

    @ApiModelProperty(value = "数据类型(文本:text 状态:state 数值:num)")
    private String dataType;

    @ApiModelProperty(value = "数据类型id")
    private Long dataTypeId;

    @ApiModelProperty(value = "符号")
    private String symbol;

    @ApiModelProperty(value = "正常值或者,正常值区间左区间")
    private String normalLeft;
    
    @ApiModelProperty(value = "正常值区间右区间")
    private String normalRight;
    
    @ApiModelProperty(value = "正常值id")
    private Long normalValueId;

    @ApiModelProperty(value = "强制拍照 0:关闭 1:开启")
    private String photograph;
    
}
